 
package com.xbongbong.admin.domain.dao;

import com.xbongbong.admin.domain.entity.RaidersGroupEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


/**
* @author autoGen
* @time 2019-09-18 13:56:15
*/
@Repository
@Mapper
public interface RaidersGroupDao {

	 
	Integer insert(RaidersGroupEntity raidersGroup);
	Integer update(RaidersGroupEntity raidersGroup);

	/**
	 * 批量更新（更新sort，update_time）
	 *
	 * @param list 攻略分组列表
	 * @author 徐俊杰
	 * @date 2019/9/20 10:37
	 * @since v1.0
	 */
	void updateBatch(@Param("list") List<RaidersGroupEntity> list);


	void insertBatch(@Param("list") List<RaidersGroupEntity> raidersGroupList);
	
	Integer deleteByKey(@Param("key") Long key);
	RaidersGroupEntity getByKey(@Param("key") Long key);
	
	
	List<RaidersGroupEntity>  findEntitys(@Param("param") Map<String, Object> param);
	Integer getEntitysCount(@Param("param") Map<String, Object> param);
		
		
 
}